﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include <stdint.h>
#include "NdbDataSchema.h"

namespace gcmp { 

    /// \brief 纹理过滤的模式
    SERIALIZABLE_ENUM_CLASS(FilterMode)
    {
        //! 未定义
        UNDEFINED = -1,
        //! 最邻近取点
        NEAREST = 1,
        //! 线性过滤
        LINEAR = 2,
        //! 最邻近的mipmap层再最邻近取点
        NEAREST_MIPMAP_NEAREST = 3,
        //! 最邻近的mipmap层再线性过滤
        NEAREST_MIPMAP_LINEAR = 4,
        //! 两mipmap层线性过滤后再最邻近取点
        LINEAR_MIPMAP_NEAREST = 5,
        //! 两mipmap层线性过滤后再线性过滤，即三线性过滤
        LINEAR_MIPMAP_LINEAR = 6,
        //! 最大各向异性过滤
        MAX_ANISOTROPIC_FILTER = 7,
        //! 不进行各向异性过滤
        DISABLE_ANISOTROPIC_FILTER = 8,
    };

}// namespace gcmp
